package com.aiti.lulian.flow.mapper;

import com.aiti.lulian.flow.entity.CardFlowProcess;
import com.aiti.lulian.flow.vo.FlowInstanceProcessVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CardFlowProcessMapper extends BaseMapper<CardFlowProcess> {

    CardFlowProcess queryFlowInstanceLastProcess(@Param("flowInstanceId") String flowInstanceId, @Param("instanceCurrentNodeKey")String instanceCurrentNodeKey);

    List<FlowInstanceProcessVo> queryFlowInstanceProcess(@Param("flowInstanceId") String flowInstanceId);
}
